<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>企业信息</title>
    <base href="/">
    <link rel="shortcut icon" href="assets/media/image/favicon.png"/>
    <link rel="stylesheet" href="vendors/bundle.css" type="text/css">
    <link rel="stylesheet" href="vendors/datepicker/daterangepicker.css">
    <link rel="stylesheet" href="vendors/vmap/jqvmap.min.css">
    <link rel="stylesheet" href="assets/css/app.css" type="text/css">
    <!--弹窗CSS-->
    <link rel="stylesheet" href="assets/css/modal.css" type="text/css">
</head>
<body class="container">

<div class="preloader">
    <div class="preloader-icon"></div>
</div>

<!--引入公共头部页面-->
<div th:replace="~{commons/header :: header}"></div>

<div id="main">

    <!--引入公共导航栏页面-->
    <div th:replace="~{commons/navigation :: navigation}"></div>

    <div class="main-content">
        <div class="row">
            <div class="col-md-10 card" style="margin-left: 15px">
                <div class="row" style="border-bottom: 1px solid #71a4ff; margin: 20px 20px 10px 20px; position: relative">
                    <img src="image/company.png"><span style="line-height: 24px">企业信息</span>
                </div>
                <form onsubmit="return false" id="userInfoModify" style="margin-top: 30px;margin-bottom: 50px;font-size: 115%">
                    <div class="form-group row">
                        <label class="col-sm-5 col-form-label text-right">分公司名称：</label>
                        <div>
                            <label th:text="${company.companyName}" class="col-form-label">华北分公司</label>
                        </div>
                    </div>
                    <div th:if="${parentCompany!=null}" class="form-group row">
                        <label class="col-sm-5 col-form-label text-right">上级分公司：</label>
                        <div>
                            <label th:text="${parentCompany.companyName}" class="col-form-label">环球集团公司</label>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-5 col-form-label text-right">联系电话：</label>
                        <div>
                            <label th:text="${company.phone}" class="col-form-label">010888888</label>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-5 col-form-label text-right">联系地址：</label>
                        <div>
                            <label th:text="${header.addr}" class="col-form-label">北京市海淀区四环中路4号</label>
                        </div>
                    </div>
                    <div class="form-group row">
                        <label class="col-sm-5 col-form-label text-right">电子邮件：</label>
                        <div>
                            <label th:text="${company.email}" class="col-form-label">libai@163.com</label>
                        </div>
                    </div>

                    <br>
                    <div class="form-group row">
                        <div class="col-sm-6 text-right">
                        </div>
                        <div class="col-sm-3 text-right">
                            <a th:href="${#request.getHeader('Referer')}" type="submit" class="btn btn-gradient-dark"  style="border-radius: .30em;">返回</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>

        <div th:replace="~{commons/footer :: footer}"></div>
    </div>
</div>
<!-- end::main -->


<!--引入公共的JavaScript脚本-->
<div th:include="~{commons/scripts :: scripts}"></div>
<script src="assets/js/app.js"></script>
<script src="assets/js/modal.js"></script>

</body>

</html>